package com.sixth.system.mapper;/**
 * @author 633yh
 * @version 1.0
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixth.core.entity.DictType;
import org.apache.ibatis.annotations.Select;

/**
 * @author ：Stu YH
 * @date ：Created in 2024/8/18 15:05
 * @description：
 * @modified By：
 * @version:
 */
public interface DictTypeMapper extends BaseMapper<DictType> {
    /**
     * 根据字典类型查询字典数据
     * @param dictType 字典类型
     * @return 字典数据集合信息
     */
    @Select("select dict_id, dict_name, dict_type, status, create_by, create_time, remark from sys_dict_type where dict_type = #{dictType}")
    public DictType selectDictTypeByType(String dictType);
}